package com.cowealth.platform.common.base.vo.request;

import java.io.Serializable;

/**
 * 排序请求
 *
 * @author : skycdm
 * @version : 1.0.0
 * @date : 2021/3/18 15:39
 */
public class SortRequest implements Serializable {

    /**
     * 顺序 - 升序
     */
    public static final String ORDER_ASC = "asc";
    /**
     * 顺序 - 降序
     */
    public static final String ORDER_DESC = "desc";

    /**
     * 字段
     */
    private String field;
    /**
     * 顺序
     */
    private String order;


    public String getField() {
        return field;
    }

    public SortRequest setField(String field) {
        this.field = field;
        return this;
    }

    public String getOrder() {
        return order;
    }

    public SortRequest setOrder(String order) {
        this.order = order;
        return this;
    }
}
